On the circuit complexity of the standard and the Karatsuba methods of multiplying integers

نویسنده

  • Igor S. Sergeev
چکیده

The goal of the present paper is to obtain accurate estimates for the complexity of two practical multiplication methods: standard (school) and Karatsuba [1]. Here, complexity is the minimal possible number of gates in a logic circuit implementing the required function over the basis {AND,OR,XOR,NAND,NOR,XNOR}. One can find upper estimates for the said methods e.g. in [2]. The standard method has complexity M(n) ≤ 6n − 8n. In the case n = 2, the complexity K(n) of the Karatsuba method can be deduced from the recursion K(2n) ≤ 3K(n) + 49n− 8 as K(2) ≤ 26 9 · 3 − 49 · 2 + 4. We intend to show that the above estimates may be improved with the help of the result [3] stating that a sum of n bits may be computed via 4.5n operations instead of 5n as in the naive approach. The resulting bounds are M(n) ≤ 5.5n − 6.5n− 1 + (n mod 2) and

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Less Recursive Variant of Karatsuba-Ofman Algorithm for Multiplying Operands of Size a Power of Two

We propose a new algorithm for fast multiplication of large integers having a precision of 2 computer words, where k is an integer. The algorithm is derived from the Karatsuba-Ofman Algorithm and has the same asymptotic complexity. However, the running time of the new algorithm is slightly better, and it makes one third as many recursive calls.

متن کامل

Space-Efficient Karatsuba Multiplication for Multi-Precision Integers

The traditional Karatsuba algorithm for the multiplication of polynomials and multi-precision integers has a time complexity of O(n) and a space complexity of O(n). Roche proposed an improved algorithm with the same O(n) time complexity but with a much reduced O(log n) space complexity. In Roche’s paper details were provided for multiplication of polynomials, but not for multi-precision integer...

متن کامل

Fast Truncated Multiplication and its Applications in Cryptography

Truncated Multiplication computes a truncated product, a contiguous subsequence of the digits of the product of 2 long integers. We review a few truncated multiplication algorithms and adapt them to integers. They are a constant times faster than n-digit full multiplications of time complexity O(n), with 1< α ≤ 2, important in cryptography. For example, the least significant half products with ...

متن کامل

Fast Truncated Multiplication for Cryptographic Applications

The Truncated Multiplication computes a truncated product, a contiguous subsequence of the digits of the product of 2 integers. A few truncated polynomial multiplication algorithms are presented and adapted to integers. They are based on the most often used n-digit full multiplication algorithms of time complexity O(n), with 1< α ≤ 2, but a constant times faster. For example, the least signific...

متن کامل

A Micropower Current-Mode Euclidean Distance Calculator for Pattern Recognition

In this paper a new synthesis for circuit design of Euclidean distance calculation is presented. The circuit is implemented based on a simple two-quadrant squarer/divider block. The circuit that employs floating gate MOS (FG-MOS) transistors operating in weak inversion region, features low circuit complexity, low power (<20uW), low supply voltage (0.5V), two quadrant input current, wide dyn...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1602.02362  شماره 

صفحات  -

تاریخ انتشار 2016